#define _CRT_SECURE_NO_WARNINGS 1
#include"SeqList.h"

void test()
{
	SeqList p;
	SeqListInit(&p);
	SeqListPushBack(&p,2);
	SeqListPushBack(&p,4);
	SeqListPushBack(&p,3);
	SeqListPushBack(&p,5);
	SeqListPrint(&p);
	SeqListPushFront(&p,1);
	SeqListPushFront(&p,9);
	SeqListPrint(&p);
	SeqListPopFront(&p);
	SeqListPrint(&p);
	SeqListPopBack(&p);
	SeqListPrint(&p);
	SeqListInsert(&p,2,8);
	SeqListPrint(&p);
	SeqListErase(&p,2);
	SeqListPrint(&p);
	int t = SeqListFind(&p,3);
	printf("%d", t);
	SeqListDestroy(&p);
}


int main()
{
	test();
	return 0; 
}